package cn.wgx.modules.sys.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysResExample {
    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    protected String orderByClause;

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    protected boolean distinct;

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public SysResExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public SysResExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public SysResExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public static Criteria newAndCreateCriteria() {
        SysResExample example = new SysResExample();
        return example.createCriteria();
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andResource_idIsNull() {
            addCriterion("t.resource_id is null");
            return (Criteria) this;
        }

        public Criteria andResource_idIsNotNull() {
            addCriterion("t.resource_id is not null");
            return (Criteria) this;
        }

        public Criteria andResource_idEqualTo(Integer value) {
            addCriterion("t.resource_id =", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idNotEqualTo(Integer value) {
            addCriterion("t.resource_id <>", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idGreaterThan(Integer value) {
            addCriterion("t.resource_id >", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.resource_id >=", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idLessThan(Integer value) {
            addCriterion("t.resource_id <", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idLessThanOrEqualTo(Integer value) {
            addCriterion("t.resource_id <=", value, "resource_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andResource_idLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.resource_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResource_idIn(List<Integer> values) {
            addCriterion("t.resource_id in", values, "resource_id");
            return (Criteria) this;
        }

        public Criteria andResource_idNotIn(List<Integer> values) {
            addCriterion("t.resource_id not in", values, "resource_id");
            return (Criteria) this;
        }

        public Criteria andResource_idBetween(Integer value1, Integer value2) {
            addCriterion("t.resource_id between", value1, value2, "resource_id");
            return (Criteria) this;
        }

        public Criteria andResource_idNotBetween(Integer value1, Integer value2) {
            addCriterion("t.resource_id not between", value1, value2, "resource_id");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIsNull() {
            addCriterion("t.OriginalName is null");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIsNotNull() {
            addCriterion("t.OriginalName is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalNameEqualTo(String value) {
            addCriterion("t.OriginalName =", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotEqualTo(String value) {
            addCriterion("t.OriginalName <>", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameGreaterThan(String value) {
            addCriterion("t.OriginalName >", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameGreaterThanOrEqualTo(String value) {
            addCriterion("t.OriginalName >=", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameLessThan(String value) {
            addCriterion("t.OriginalName <", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameLessThanOrEqualTo(String value) {
            addCriterion("t.OriginalName <=", value, "originalName");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andOriginalNameLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.OriginalName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOriginalNameLike(String value) {
            addCriterion("t.OriginalName like", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotLike(String value) {
            addCriterion("t.OriginalName not like", value, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameIn(List<String> values) {
            addCriterion("t.OriginalName in", values, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotIn(List<String> values) {
            addCriterion("t.OriginalName not in", values, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameBetween(String value1, String value2) {
            addCriterion("t.OriginalName between", value1, value2, "originalName");
            return (Criteria) this;
        }

        public Criteria andOriginalNameNotBetween(String value1, String value2) {
            addCriterion("t.OriginalName not between", value1, value2, "originalName");
            return (Criteria) this;
        }

        public Criteria andSuffixIsNull() {
            addCriterion("t.suffix is null");
            return (Criteria) this;
        }

        public Criteria andSuffixIsNotNull() {
            addCriterion("t.suffix is not null");
            return (Criteria) this;
        }

        public Criteria andSuffixEqualTo(String value) {
            addCriterion("t.suffix =", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixNotEqualTo(String value) {
            addCriterion("t.suffix <>", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixGreaterThan(String value) {
            addCriterion("t.suffix >", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixGreaterThanOrEqualTo(String value) {
            addCriterion("t.suffix >=", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixLessThan(String value) {
            addCriterion("t.suffix <", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixLessThanOrEqualTo(String value) {
            addCriterion("t.suffix <=", value, "suffix");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSuffixLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.suffix <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSuffixLike(String value) {
            addCriterion("t.suffix like", value, "suffix");
            return (Criteria) this;
        }

        public Criteria andSuffixNotLike(String value) {
            addCriterion("t.suffix not like", value, "suffix");
            return (Criteria) this;
        }

        public Criteria andSuffixIn(List<String> values) {
            addCriterion("t.suffix in", values, "suffix");
            return (Criteria) this;
        }

        public Criteria andSuffixNotIn(List<String> values) {
            addCriterion("t.suffix not in", values, "suffix");
            return (Criteria) this;
        }

        public Criteria andSuffixBetween(String value1, String value2) {
            addCriterion("t.suffix between", value1, value2, "suffix");
            return (Criteria) this;
        }

        public Criteria andSuffixNotBetween(String value1, String value2) {
            addCriterion("t.suffix not between", value1, value2, "suffix");
            return (Criteria) this;
        }

        public Criteria andSizeIsNull() {
            addCriterion("t.size is null");
            return (Criteria) this;
        }

        public Criteria andSizeIsNotNull() {
            addCriterion("t.size is not null");
            return (Criteria) this;
        }

        public Criteria andSizeEqualTo(Long value) {
            addCriterion("t.size =", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeNotEqualTo(Long value) {
            addCriterion("t.size <>", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThan(Long value) {
            addCriterion("t.size >", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThanOrEqualTo(Long value) {
            addCriterion("t.size >=", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeLessThan(Long value) {
            addCriterion("t.size <", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeLessThanOrEqualTo(Long value) {
            addCriterion("t.size <=", value, "size");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andSizeLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.size <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSizeIn(List<Long> values) {
            addCriterion("t.size in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotIn(List<Long> values) {
            addCriterion("t.size not in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeBetween(Long value1, Long value2) {
            addCriterion("t.size between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotBetween(Long value1, Long value2) {
            addCriterion("t.size not between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("t.url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("t.url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("t.url =", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("t.url <>", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("t.url >", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("t.url >=", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("t.url <", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("t.url <=", value, "url");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUrlLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.url <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("t.url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("t.url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("t.url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("t.url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("t.url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("t.url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("t.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("t.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("t.type =", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("t.type <>", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("t.type >", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("t.type >=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("t.type <", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("t.type <=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andTypeLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("t.type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("t.type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("t.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("t.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("t.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("t.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andComeFromIsNull() {
            addCriterion("t.comeFrom is null");
            return (Criteria) this;
        }

        public Criteria andComeFromIsNotNull() {
            addCriterion("t.comeFrom is not null");
            return (Criteria) this;
        }

        public Criteria andComeFromEqualTo(String value) {
            addCriterion("t.comeFrom =", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromNotEqualTo(String value) {
            addCriterion("t.comeFrom <>", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromGreaterThan(String value) {
            addCriterion("t.comeFrom >", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromGreaterThanOrEqualTo(String value) {
            addCriterion("t.comeFrom >=", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromLessThan(String value) {
            addCriterion("t.comeFrom <", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromLessThanOrEqualTo(String value) {
            addCriterion("t.comeFrom <=", value, "comeFrom");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andComeFromLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.comeFrom <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andComeFromLike(String value) {
            addCriterion("t.comeFrom like", value, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andComeFromNotLike(String value) {
            addCriterion("t.comeFrom not like", value, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andComeFromIn(List<String> values) {
            addCriterion("t.comeFrom in", values, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andComeFromNotIn(List<String> values) {
            addCriterion("t.comeFrom not in", values, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andComeFromBetween(String value1, String value2) {
            addCriterion("t.comeFrom between", value1, value2, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andComeFromNotBetween(String value1, String value2) {
            addCriterion("t.comeFrom not between", value1, value2, "comeFrom");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("t.address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("t.address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("t.address =", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("t.address <>", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("t.address >", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("t.address >=", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("t.address <", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("t.address <=", value, "address");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAddressLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.address <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("t.address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("t.address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("t.address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("t.address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("t.address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("t.address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAgentIsNull() {
            addCriterion("t.agent is null");
            return (Criteria) this;
        }

        public Criteria andAgentIsNotNull() {
            addCriterion("t.agent is not null");
            return (Criteria) this;
        }

        public Criteria andAgentEqualTo(String value) {
            addCriterion("t.agent =", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentNotEqualTo(String value) {
            addCriterion("t.agent <>", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentGreaterThan(String value) {
            addCriterion("t.agent >", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentGreaterThanOrEqualTo(String value) {
            addCriterion("t.agent >=", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentLessThan(String value) {
            addCriterion("t.agent <", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentLessThanOrEqualTo(String value) {
            addCriterion("t.agent <=", value, "agent");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andAgentLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.agent <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentLike(String value) {
            addCriterion("t.agent like", value, "agent");
            return (Criteria) this;
        }

        public Criteria andAgentNotLike(String value) {
            addCriterion("t.agent not like", value, "agent");
            return (Criteria) this;
        }

        public Criteria andAgentIn(List<String> values) {
            addCriterion("t.agent in", values, "agent");
            return (Criteria) this;
        }

        public Criteria andAgentNotIn(List<String> values) {
            addCriterion("t.agent not in", values, "agent");
            return (Criteria) this;
        }

        public Criteria andAgentBetween(String value1, String value2) {
            addCriterion("t.agent between", value1, value2, "agent");
            return (Criteria) this;
        }

        public Criteria andAgentNotBetween(String value1, String value2) {
            addCriterion("t.agent not between", value1, value2, "agent");
            return (Criteria) this;
        }

        public Criteria andUsedIsNull() {
            addCriterion("t.used is null");
            return (Criteria) this;
        }

        public Criteria andUsedIsNotNull() {
            addCriterion("t.used is not null");
            return (Criteria) this;
        }

        public Criteria andUsedEqualTo(Boolean value) {
            addCriterion("t.used =", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedNotEqualTo(Boolean value) {
            addCriterion("t.used <>", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedGreaterThan(Boolean value) {
            addCriterion("t.used >", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("t.used >=", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedLessThan(Boolean value) {
            addCriterion("t.used <", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedLessThanOrEqualTo(Boolean value) {
            addCriterion("t.used <=", value, "used");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUsedLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.used <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUsedIn(List<Boolean> values) {
            addCriterion("t.used in", values, "used");
            return (Criteria) this;
        }

        public Criteria andUsedNotIn(List<Boolean> values) {
            addCriterion("t.used not in", values, "used");
            return (Criteria) this;
        }

        public Criteria andUsedBetween(Boolean value1, Boolean value2) {
            addCriterion("t.used between", value1, value2, "used");
            return (Criteria) this;
        }

        public Criteria andUsedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("t.used not between", value1, value2, "used");
            return (Criteria) this;
        }

        public Criteria andMd5IsNull() {
            addCriterion("t.md5 is null");
            return (Criteria) this;
        }

        public Criteria andMd5IsNotNull() {
            addCriterion("t.md5 is not null");
            return (Criteria) this;
        }

        public Criteria andMd5EqualTo(String value) {
            addCriterion("t.md5 =", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5EqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5NotEqualTo(String value) {
            addCriterion("t.md5 <>", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5NotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5GreaterThan(String value) {
            addCriterion("t.md5 >", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5GreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5GreaterThanOrEqualTo(String value) {
            addCriterion("t.md5 >=", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5GreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5LessThan(String value) {
            addCriterion("t.md5 <", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5LessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5LessThanOrEqualTo(String value) {
            addCriterion("t.md5 <=", value, "md5");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andMd5LessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.md5 <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMd5Like(String value) {
            addCriterion("t.md5 like", value, "md5");
            return (Criteria) this;
        }

        public Criteria andMd5NotLike(String value) {
            addCriterion("t.md5 not like", value, "md5");
            return (Criteria) this;
        }

        public Criteria andMd5In(List<String> values) {
            addCriterion("t.md5 in", values, "md5");
            return (Criteria) this;
        }

        public Criteria andMd5NotIn(List<String> values) {
            addCriterion("t.md5 not in", values, "md5");
            return (Criteria) this;
        }

        public Criteria andMd5Between(String value1, String value2) {
            addCriterion("t.md5 between", value1, value2, "md5");
            return (Criteria) this;
        }

        public Criteria andMd5NotBetween(String value1, String value2) {
            addCriterion("t.md5 not between", value1, value2, "md5");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("t.createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("t.createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("t.createDate =", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("t.createDate <>", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("t.createDate >", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.createDate >=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("t.createDate <", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.createDate <=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateDateLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("t.createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("t.createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("t.createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("t.createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("t.createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("t.createUserId =", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("t.createUserId <>", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("t.createUserId >", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId >=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("t.createUserId <", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId <=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andCreateUserIdLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.createUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("t.createUserId in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("t.createUserId not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("t.updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("t.updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("t.updateDate =", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("t.updateDate <>", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("t.updateDate >", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.updateDate >=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("t.updateDate <", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.updateDate <=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateDateLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("t.updateDate in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("t.updateDate not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("t.updateDate between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.updateDate not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("t.updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("t.updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Integer value) {
            addCriterion("t.updateUserId =", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Integer value) {
            addCriterion("t.updateUserId <>", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdNotEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Integer value) {
            addCriterion("t.updateUserId >", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId >=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Integer value) {
            addCriterion("t.updateUserId <", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdLessThanColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId <=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andUpdateUserIdLessThanOrEqualToColumn(SysRes.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Integer> values) {
            addCriterion("t.updateUserId in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Integer> values) {
            addCriterion("t.updateUserId not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andOriginalNameLikeInsensitive(String value) {
            addCriterion("upper(t.OriginalName) like", value.toUpperCase(), "originalName");
            return (Criteria) this;
        }

        public Criteria andSuffixLikeInsensitive(String value) {
            addCriterion("upper(t.suffix) like", value.toUpperCase(), "suffix");
            return (Criteria) this;
        }

        public Criteria andUrlLikeInsensitive(String value) {
            addCriterion("upper(t.url) like", value.toUpperCase(), "url");
            return (Criteria) this;
        }

        public Criteria andTypeLikeInsensitive(String value) {
            addCriterion("upper(t.type) like", value.toUpperCase(), "type");
            return (Criteria) this;
        }

        public Criteria andComeFromLikeInsensitive(String value) {
            addCriterion("upper(t.comeFrom) like", value.toUpperCase(), "comeFrom");
            return (Criteria) this;
        }

        public Criteria andAddressLikeInsensitive(String value) {
            addCriterion("upper(t.address) like", value.toUpperCase(), "address");
            return (Criteria) this;
        }

        public Criteria andAgentLikeInsensitive(String value) {
            addCriterion("upper(t.agent) like", value.toUpperCase(), "agent");
            return (Criteria) this;
        }

        public Criteria andMd5LikeInsensitive(String value) {
            addCriterion("upper(t.md5) like", value.toUpperCase(), "md5");
            return (Criteria) this;
        }
    }

    /**
     *
     * @mbg.generated do_not_delete_during_merge Fri Apr 17 14:55:57 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        private SysResExample example;

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        protected Criteria(SysResExample example) {
            super();
            this.example = example;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public SysResExample example() {
            return this.example;
        }

        /**
         *
         * @mbg.generated Fri Apr 17 14:55:57 CST 2020
         */
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public interface ICriteriaAdd {
            /**
             *
             * @mbg.generated Fri Apr 17 14:55:57 CST 2020
             */
            Criteria add(Criteria add);
        }
    }

    /**
     *
     * @mbg.generated Fri Apr 17 14:55:57 CST 2020
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}